package com.zc.operator.mapper;

import com.zc.operator.domain.ChargeOperatorUser;

import java.util.List;


/**
 * 运营商用户Mapper接口
 *
 * @author glb
 * @date 2023-05-16
 */
public interface ChargeOperatorUserMapper
{
    /**
     * 查询运营商用户
     *
     * @param operatorId 运营商用户主键
     * @return 运营商用户
     */
    public ChargeOperatorUser selectChargeOperatorUserByOperatorId(Long operatorId);

    /**
     * 查询运营商用户列表
     *
     * @param chargeOperatorUser 运营商用户
     * @return 运营商用户集合
     */
    List<ChargeOperatorUser> selectChargeOperatorUserList(ChargeOperatorUser chargeOperatorUser);

    /**
     * 新增运营商用户
     *
     * @param chargeOperatorUser 运营商用户
     * @return 结果
     */
    int insertChargeOperatorUser(ChargeOperatorUser chargeOperatorUser);

    /**
     * 修改运营商用户
     *
     * @param chargeOperatorUser 运营商用户
     * @return 结果
     */
    int updateChargeOperatorUser(ChargeOperatorUser chargeOperatorUser);

    /**
     * 删除运营商用户
     *
     * @param operatorId 运营商用户主键
     * @return 结果
     */
    int deleteChargeOperatorUserByOperatorId(Long operatorId);

    /**
     * 批量删除运营商用户
     *
     * @param operatorIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteChargeOperatorUserByOperatorIds(Long[] operatorIds);
}
